package lab01;

public class test09 {
    public static void main(String[] args)
    {
        System.out.println("按格式输出4乘4的乘法表.");
        for (int i = 1; i <= 4; i++) {
            for (int j = 1; j <= i; j++) {
                System.out.print(j + "*" + i + "=" + i * j);
                System.out.print('\t');
            }
            System.out.print('\n');
        }
    }
}
